<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'foreignness-parents-gurdians-details-form',
	'enableAjaxValidation' => false,
));
?>

	<p class="note">
		<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
	</p>

	<?php echo $form->errorSummary($model); ?>

		<div class="row">
		<?php echo $form->labelEx($model,'name_of_parent'); ?>
		<?php echo $form->textField($model, 'name_of_parent', array('maxlength' => 145)); ?>
		<?php echo $form->error($model,'name_of_parent'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'address'); ?>
		<?php echo $form->textArea($model, 'address'); ?>
		<?php echo $form->error($model,'address'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'city_name'); ?>
		<?php echo $form->textField($model, 'city_name', array('maxlength' => 145)); ?>
		<?php echo $form->error($model,'city_name'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'parents_mobile_no'); ?>
		<?php echo $form->textField($model, 'parents_mobile_no', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'parents_mobile_no'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'residence_phone_no'); ?>
		<?php echo $form->textField($model, 'residence_phone_no', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'residence_phone_no'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'email_address'); ?>
		<?php echo $form->textField($model, 'email_address', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'email_address'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'country_id'); ?>
		<?php echo $form->dropDownList($model, 'country_id', GxHtml::listDataEx(Country::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'country_id'); ?>
		</div><!-- row -->
		


<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->